import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {SiteManageComponent} from './site-manage.component';
import {SiteManageAddComponent} from './site-manage-add/site-manage-add.component';
import {SiteManageUpdateComponent} from './site-manage-update/site-manage-update.component';
import {SiteAssignDevComponent} from './site-assign-dev/site-assign-dev.component';
import {SiteRangeAddComponent} from './site-range-add/site-range-add.component';
import {SiteRangeUpdateComponent} from './site-range-update/site-range-update.component';


const routes: Routes = [
  {
    path: '',
    component: SiteManageComponent
  },
  {
    path: 'add',
    component: SiteManageAddComponent
  },
  {
    path: 'update',
    component: SiteManageUpdateComponent
  },
  {
    path: 'assign',
    component: SiteAssignDevComponent
  },
  {
    path: 'rangeAdd',
    component: SiteRangeAddComponent
  },
  {
    path: 'rangeUpdate',
    component: SiteRangeUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SiteManageRoutingModule { }
